﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using BCCommon;

namespace BCDto.Common.Business.WebsiteBusinessTagcode
{
    /// <summary>
    /// 官网业务标记码
    /// </summary>
    public class WebsiteBusinessTagcodeRequestDto
    {
        /// <summary>
        /// 官网业务标记码
        /// </summary>		
        [Display(Name= "官网业务标记码")]
        [Required(ErrorMessage="{0} 不应为空!")]
        [RegularExpression(RegexPatterns.ENGLISH_AND_UNDERLINE , ErrorMessage = "{0} 仅支持英文字母及下划线组合!")]
        [MaxLength(50,ErrorMessage ="{0} 最多可输入50个字符!")]
        public string WebsiteBusinessTagcode { get; set; }
        /// <summary>
        /// 官网业务标记码描述
        /// </summary>		
        [Display(Name = "官网业务标记码描述")]
        [Required(ErrorMessage = "{0} 不应为空!")]
        [MaxLength(50, ErrorMessage = "{0} 最多可输入50个字符!")]
        public string Description { get; set; }
    }
}

